/** 
Copyright (c) 2010, Sheikh Abdul Wahid Ahmed
Details @ http://extremecodeworld.codeplex.com/license
**/

using System;
using EXtremecode.Utils;

using EXtremecode.DataAccessLayer; 
using System.Data;
using System.Xml;
using System.IO;

namespace EXtremecode.DataAccessLayer.Configurations
{
    /// <summary>
    /// Summary description for Provider.
    /// </summary>
    public class Provider
    {


        public static string TimestampColumnName
        {
            get
            {
                string str = System.Configuration.ConfigurationSettings.AppSettings[Keys.TIMESTAMP_COLUMN_NAME];
                return (str == null) ? "" : str;
            }
        }

        public static string ConnectionsPath
        {
            get
            {
                string strPath = System.Configuration.ConfigurationSettings.AppSettings[Keys.CONNECTIONS_PATH];
                return strPath;
            }
        }

        public static string TokenTableName
        {
            get
            {
                string str = System.Configuration.ConfigurationSettings.AppSettings[Keys.TOKEN_TABLE_NAME];
                return str;

            }
        }
        public static string TokenIdField
        {
            get
            {
                string str = System.Configuration.ConfigurationSettings.AppSettings[Keys.TOKEN_ID_FIELD];
                return str;

            }
        }
        public static string TokenValueField
        {
            get
            {
                string str = System.Configuration.ConfigurationSettings.AppSettings[Keys.TOKEN_VALUE_FIELD];
                return str;

            }
        }

        public static string WhenDeletedColumnName
        {
            get
            {
                string str = System.Configuration.ConfigurationSettings.AppSettings[Keys.WHEN_DELETED_COLUMN_NAME];
                return (str == null) ? "" : str; 

            }
        }

    }
}
